home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / rfileu10.zip / STRINGS.DOC < prev    next >
Text File  |  1993-05-06  |  6KB  |  151 lines

  1.  
  2.  
  3.              #####                                                 
  4.             #     #   #####  #####      #    #    #   ####    #### 
  5.             #           #    #    #     #    ##   #  #    #  #     
  6.              #####      #    #    #     #    # #  #  #        #### 
  7.                   #     #    #####      #    #  # #  #  ###       #
  8.             #     #     #    #   #      #    #   ##  #    #  #    #
  9.              #####      #    #    #     #    #    #   ####    #### 
  10.  
  11.  
  12.  
  13.  
  14. You can get part of the following documentation by invoking the program with
  15. the switches -v, -h, or -H . See README.TXT for more information.
  16.  
  17. -----------------------------------   -v   ------------------------------------
  18. STRINGS2 v1.0 -- Find printable strings in binary files
  19. Copr (c) 1992,1993 Richard Breuer. STRINGS2 is freeware. No warranties.
  20.  
  21. This is STRINGS/2 v1.0 - renamed to STRINGS2 (from RUTILS 4).
  22.  
  23. Author: Richard Breuer
  24.         Brunssumstrasse 6
  25.         5100 Aachen
  26.         (after Jul 1, 1993: 52074 Aachen)
  27.         Germany
  28.         Europe
  29.  
  30. Phone:  +49/241/85605
  31. Fax:    +49/241/8021329
  32.  
  33. Email:  ricki@pool.informatik.rwth-aachen.de (Preferred!)
  34.  
  35. -----------------------------------   -h   ------------------------------------
  36. STRINGS2 v1.0 -- Find printable strings in binary files
  37. Copr (c) 1992,1993 Richard Breuer. STRINGS2 is freeware. No warranties.
  38.  
  39. Usage:
  40.    STRINGS2 [-ahHo:txv*] [-<n>] infile.. [{>|>>} outfile]
  41.  
  42. Options (+ are default):
  43.    -<n>   Use n as the minimum string length rather than 4
  44.    -a     Append the code of the first non-printable character to each line
  45.    -h     Display this help screen
  46.    -H     Display another help screen with notes and examples
  47. +  -n     Use default charset:  ( #9  #32..#126  #128..#168 )
  48.    -o[d]  Precede each string by its offset in the file. Use -o/-od/-oD/-o10
  49.       for decimal (6 digits), -ox/-oX/-o$/-o16 for hecadecimal (4 digits),
  50.       -oo/-oO/-o8 for octal (8 digits), or -ob/-oB/-o2 for binary offset
  51.       (16 digits)
  52.    -t     Use tiny charset: ( #9  #32  0..9  A..Z  a..z  #128..#168 )
  53.    -v     Display version info and information about the author
  54.    -x     Use extended charset: ( #9  #32..#254 ) (IBM-printable)
  55.    -*     Display internal information (for debugging purposes)
  56.  
  57. -----------------------------------   -H   ------------------------------------
  58. STRINGS2 v1.0 -- Find printable strings in binary files
  59. Copr (c) 1992,1993 Richard Breuer. STRINGS2 is freeware. No warranties.
  60.  
  61. Notes:
  62.    STRINGS2 reads from stdin if a filename is -. The output is always directed
  63.    to stdout. The errorlevel is set to 1 if help has been displayed. It is
  64.    set to 255 in case of an error and 0 on normal completion. Output resulting
  65.    from multiple input files is appended to stdout. The processing order for
  66.    wildcards depends on the order of the directory entries. Console input or
  67.    piping is not allowed.
  68.  
  69. Example:
  70.    STRINGS2 *.COM -o16
  71.       Process all *.COM files in the current dir and append the string lists to
  72.       stdout, prepending each line with a hexadecimal offset in the file. The
  73.       order is the one DOS's DIR tells you.
  74.  
  75. -------------------------------------------------------------------------------
  76. Additional information:
  77.    STRINGS is similar to the Unix command with the same name. The main
  78.    difference is that RUTILS' STRING behaves like Unix STRING with the -a
  79.    option, ie. it looks for printable strings everywhere in the file.
  80.    Besides, it offers several useful options more than the Unix version.
  81.  
  82. Examples:
  83.    Let's consider an example. I have a little utility called KEYFAKE by
  84.    Charles Petzold, which I use sometimes. Below you find several examples
  85.    of the behaviour of STRINGS when invoked with different switches. We use
  86.    the switch -5 in all examples to reduce the number of matches (-5 means
  87.    that only readable strings with a length greater than 4 will match, no
  88.    shorter ones).
  89.  
  90.    STRINGS -5 KEYFAKE.COM
  91.       KEY-FAKE (C) Copyright Charles Petzold, 1985
  92.       ªt,@Ä
  93.       cÉ<@u
  94.       -É<"t
  95.       +ÉÇ>ç
  96.  
  97.    STRINGS -x5 KEYFAKE.COM        { extended charset }
  98.       KEY-FAKE (C) Copyright Charles Petzold, 1985
  99.       √.Ç>5
  100.       └t╧╧S.ï
  101.       ⁿî╩+└Ä└╛
  102.       ≤ªt,@Ä└;┬uφ╞
  103.       '+└Ä╪íX
  104.       ¼ÿï╚A
  105.       *Σ½&■
  106.       δcÉ<@u
  107.       δ-É<"t
  108.       δ+ÉÇ>ç
  109.       *ΣÇ>ê
  110.       å─½&■
  111.  
  112.    STRINGS -t5 KEYFAKE.COM        { tiny charset }
  113.       FAKE
  114.        Copyright Charles Petzold
  115.        1985
  116.  
  117.    STRINGS -a5 KEYFAKE.COM        { append first non-printable code }
  118.       KEY-FAKE (C) Copyright Charles Petzold, 1985 #0
  119.       ªt,@Ä #192
  120.       cÉ<@u #8
  121.       -É<"t #4
  122.       +ÉÇ>ç #2
  123.  
  124.    STRINGS -5 -od KEYFAKE.COM        { decimal offsets }
  125.       000003  KEY-FAKE (C) Copyright Charles Petzold, 1985
  126.       000161  ªt,@Ä
  127.       000426  cÉ<@u
  128.       000438  -É<"t
  129.       000482  +ÉÇ>ç
  130.  
  131.    STRINGS -5 .o$ KEYFAKE.COM        { hex offsets }
  132.       00000003  KEY-FAKE (C) Copyright Charles Petzold, 1985
  133.       000000A1  ªt,@Ä
  134.       000001AA  cÉ<@u
  135.       000001B6  -É<"t
  136.       000001E2  +ÉÇ>ç
  137.  
  138.    STRINGS -5 -o8 KEYFAKE.COM        { octal offsets }
  139.       00000000003  KEY-FAKE (C) Copyright Charles Petzold, 1985
  140.       00000000241  ªt,@Ä
  141.       00000000652  cÉ<@u
  142.       00000000666  -É<"t
  143.       00000000742  +ÉÇ>ç
  144.  
  145.    STRINGS -5 KEYFAKE.COM        { binary offsets }
  146.       00000000000000000000000000000011  KEY-FAKE (C) Copyright Charles Petzold, 1985
  147.       00000000000000000000000010100001  ªt,@Ä
  148.       00000000000000000000000110101010  cÉ<@u
  149.       00000000000000000000000110110110  -É<"t
  150.       00000000000000000000000111100010  +ÉÇ>ç
  151.